<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html class="wrap">

	<head>

		<meta charset="UTF-8">

		<title>saveClass</title>

		<link rel="stylesheet" href="css/pc/cores/alert.css" />

		<link rel="stylesheet" href="css/pc/cores/styleullist.css" />

		<link rel="stylesheet" href="css/pc/cores/sytle.css" />
		<link rel="stylesheet" href="css/pc/modules/addCourse.css" />
		<link rel="stylesheet" href="css/pc/cores/noticeList.css" />

		<link rel="stylesheet" href="css/font-awesome.min.css" />

		<link rel="stylesheet" href="css/public/fh.css" />

	</head>

	<body>

		<!--面包屑-->
		<div class="crumbs">
			<div class="index-img"></div>
			<a href="javascript:void(0)" id="myPage">首页</a><label>></label>
			<a href="javascript:void(0)" id="courseMana">课程管理</a><label>></label>
			<a href="javascript:void(0)">修改课程</a>
			<!--  
		   <div class="msgShow"></div>
		<div class="swiper_wrap">
			<ul class="font_inner ul" id="noticeList">
				
			</ul>
		</div> 
		-->
		</div>

		<!-- 标题 -->
		<div class="content_box">

			<div class="title_nav">
				<div class="title_box_select fl" id="table_one">修改课程</div>

				<div class="xxtz" id="fanhui">
					<a href="javascript:void(0)" class="returnA">返回</a>
				</div>

			</div>

		</div>

		<!--top-->

		<div class="panel content_box">

			<ul class="class-list">

				<li class="block color-yellow mark-station titleUp">

					<div class="info color-yellow-inner titleDown">

						<h1 class="title" id="lcourseName">课程名称</h1>

						<h3 class="desc" id="lfuTitle">副标题</h3>

					</div>

				</li>
				<div class="write-div">

					<div class="left-div">
						<div class="">
							<label class="font-label">课程名称：</label>
							<input type="text" class="text-size ooppion" maxlength="20" id="courseName" />
						</div>

						<div class="option option_content">
							<label class="font-label label label-float two-row-left-label">主标题字体：</label>
							<div class="radio-div titleFontDiv">
								<span class="titleFontId option_Noselect" value="22">22</span>
								<span class="titleFontId option_Noselect margin-left-42" value="30">30</span>
								<span class="titleFontId option_select margin-left-31" value="38">38</span>
							</div>
						</div>

						<div class="option option_content ffontsize">
							<label class="font-label label label-float two-row-left-label">副标题字体：</label>
							<div class="radio-div ftitleFontDiv">
								<span class="ftitleFontId option_Noselect" value="14">14</span>
								<span class="ftitleFontId option_Noselect margin-left-42" value="16">16</span>
								<span class="ftitleFontId option_select margin-left-31" value="18">18</span>
							</div>

							<!-- 
					<label class="font-label label label-float">副标题字体：</label>
					 
						<input type="radio" value="14" name="radioCourseTitle" id="titleFirst"  class="courseFont-radio radiosTitleFont"/><label for="titleFirst" class="radio-color" >14</label> 
					
						<input type="radio" value="16" name="radioCourseTitle" id="titleSecond" class="courseFont-radio radiosTitleFont"/><label for="titleSecond" class="radio-color" >16</label> 
					
						<input type="radio" value="18" name="radioCourseTitle" id="titleThird" class="courseFont-radio radiosTitleFont"/><label for="titleThird" class="radio-color">18</label> 
					
					 -->

						</div>

						<div class="degree-div">
							<label class="degree-float font-label-shot ">学分数：</label>
							<input type="text" class="text-size ooppion" maxlength="4" id="courseCredit" />
						</div>

						<div class="stu-num">
							<label class="font-label ">课程人数：</label>
							<input type="text" class="text-size ooppion" maxlength="4" id="maxStu" />
							<img src="images/public/qsmark.png" class="stu-num-img questionShow" />
							<div class="q-div hide">
								<img src="images/public/pointer-show.png" class="q-pointer-show" />
								<label class="q-label">该项仅控制学生选课班级人数</label>
							</div>

						</div>

						<div>
							<label class="font-label ">制作教师：</label>
							<label class="text-size-label no-border" id="teacherName"></label>
						</div>

					</div>

					<div class="right-div">
						<div>
							<label class="degree-float font-label-shot">课程标题：</label>

							<input type="text" class="text-size ooppion" maxlength="20" id="fuTitle" />
						</div>
						<div class="clear"></div>
						<div class="div-top div-left-15">

							<div class="option option_content color-one-div">
								<label class="font-label label label-float color-label">封面颜色：</label>
								<div class="radio-div-color colorcolor">
									<span class="colorId option_Noselect" value="10" id="lightgreen"><label for="lightgreen" class="radio-color radios-lightgreen"></label></span>
									<span class="colorId option_Noselect span-top5" value="2" id="green"><label for="green" class="radio-color radio-color-green"></label></span>
									<span class="colorId option_Noselect span-top5" value="3" id="blue"><label for="blue" class="radio-color radio-color-blue"></label></span>
									<span class="colorId option_Noselect span-top5" value="1" id="pink"><label for="pink" class="radio-color radio-color-pink"></label></span>

								</div>
							</div>
						</div>
						<div class="clear"></div>
						<div class="mleft-212">
							<div class="option option_content">
								<div class="radio-div-color-second colorcolor">
									<span class="colorId option_select" value="4" id="yellow"><label for="yellow" class="radio-color radio-color-yellow"></label></span>
									<span class="colorId option_Noselect span-top5" value="7" id="red"><label for="red" class="radio-color radios-red"></label></span>
									<span class="colorId option_Noselect span-top5" value="6" id="orange"><label for="orange" class="radio-color radio-color-orange"></label></span>
									<span class="colorId option_Noselect span-top5" value="9" id="depgreen"><label for="depgreen" class="radio-color radios-depgreen"></label></span>
								</div>
							</div>

							<!--  
					
					<input type="radio" value="4" name="radios" checked id="yellow" class="radios radios-yellow"/><label for="yellow" class="radio-color radio-color-yellow"></label>
					
						<input type="radio" value="7" name="radios" id="red" class="radios radios-red"/><label for="red" class="radio-color radios-red"></label>
					
						<input type="radio" value="6" name="radios" id="orange" class="radios radios-orange"/><label for="orange" class="radio-color radio-color-orange"></label>
			
						<input type="radio" value="9" name="radios" id="depgreen" class="radios radios-depgreen"/><label for="depgreen" class="radio-color radios-depgreen"></label>
				
			
						<input type="radio" value="8" name="radios" id="depblue" class="radios radios-depblue"/><label for="depblue" class="radio-color radios-depblue"></label>
				
					-->

						</div>
						<div class="clear"></div>
						<div class="profession-div">
							<label class=" font-label-shot profess-float">选择专业：</label>

							<select id="professionId" class="text-size-select ">

								<option value="0">请选择专业</option>

							</select>

						</div>
						<div class="clear"></div>
						<div class="direction-div">

							<label class="font-label ">专业方向：</label>

							<select id="mainId" class="text-size-select direct-select">

								<option value="0">请选择专业方向</option>

							</select>

						</div>

					</div>

					<div class="clear"></div>

					<div class="introction-top">

						<label class="font-label label-top ">课程简介：</label>

						<textarea rows="3" cols="20" class="textarea-class ooppion" maxlength="500" id="classIntroduction"></textarea>

					</div>
				</div>
				<div class="clear"></div>
				<!--  
				<div class="button-div">
					
					<input type="button" class="button-top" value="保存" id="submitCourse"/>
					
				</div>
				  -->
			</ul>
			<div class="clear"></div>
		</div>

		<!-- 标题 -->
		<div class="content_box bottom-title">

			<div class="title_nav">
				<div class="title_box_select fl" id="table_one">添加课节</div>
			</div>
		</div>
		<!--bottom-->
		<form class="form-horizontal" action="saveChapterMessage"  method="post" name="form1" id="form1" enctype="multipart/form-data">
			<div class="panel padding-class content_box bottom-box">
				<div class="bottom-all">
					<div class="div-bottom">

						<input type="text" id="courseId" name="courseId" style="display:none;">
						<input type="text" id="type" name="type" style="display:none;">
						<input type="text" id="delHomework" name="delHomework" style="display:none;">
						<input type="text" id="delVideo" name="delVideo" style="display:none;">
						<input type="text" name="delAnswer" id="delAnswer" value="false"  style="display:none;"/>
						<input type="text" name="delMaterial" id="delMaterial" value="false"  style="display:none;"/>
						<table class="table-class chapterTable">

							<tr class="tr-class">

								<td class="td-class-left td-style">课 节</td>

								<td class="td-class-right td-style">课节名称</td>

							</tr>

							<tr class="tr-class chapterMsg">

								<td class="td-class-left td-style"><img src="images/pc/addButton.png" class="img-down addClick"><img src="images/pc/subButton.png" class="img-down subClick"></td>

								<td class="td-class-right font-red td-style">修改课节</td>

							</tr>

						</table>

					</div>
					<div class="new-right" id="box">

						<div class="right div-shadow div-bottom-right" id="div-bottom-right">

							<div class="div-bottom-float">

								<label class="font-label">课节名称：</label>

								<input type="text" class="text-size-down ooppion" id="chapterName" name="chapterName" maxlength="50" />

								<input type="text" id="chapterNum" name="chapterNum" style="display:none;">

								<input type="text" id="chapterId" name="chapterId" value="0" style="display:none;">

							</div>

							<div class="option option_content bottomAddTest">
								<label class="font-label label label-float " id="addTestLabel">添加实验：</label>
								<div class="radio-div-addTest">
									<span class="addTestId option_select" value="1" id="testYes">是</span>
									<span class="addTestId option_Noselect margin-left-31" value="2">否</span>
								</div>
							</div>
							<input type="hidden" id="addTestMark" name="addTestMark" style="display:none;" value="1">

							<div class="add-course-div">

								<span class="radio-img bottom-label-float font-red" id="addcourseLabel">添加课程</span>

							</div>

							<div>

								<hr class="line-class" />

							</div>

							<div class="div-bottom-float button-float addMsg" id="uploads">
								<div class="courseBox">
									<label class="font-label bottom-label-float upload-label yname">上传课件 :</label>

									<img src="images/pc/upload-default.png" class="bottom-img-float upload-label uploadCourseware" />

									<label id="showcourseware" class="hide"></label>

									<div class="bg" id="bg1" style="display:none;"></div>
									<div class="fixed_box" id="fixed_box1" style="display:none;">
										<h1>选择文件</h1>
										<div class="fixed_content" id="fixed_content1">
											<a class="btn_addPic up-index" href="javascript:void(0);"><span><em>+</em>添加文件</span> <input class="filePrew" title="仅支持.pdf格式" type="file" size="3" name="courseware" id="courseware"> </a>
											<span class="excelSpan" id="uploadcourseware"></span>
											<div class="button_box" id="button_box1">
												<a href="javascript:void(0)" class="tijiao2 hover-btn" id="submit1">导入</a>
												<a href="javascript:void(0)" class="result hover-btn" id="result1" style="margin-left:30px">取消</a>
											</div>
										</div>
									</div>
								
								</div>
								<hr class="line-class" />
								<div class="courseMaterialBox">
									<label class="font-label bottom-label-float upload-label">备课材料 :</label>

									<img src="images/pc/upload-default.png" class="bottom-img-float upload-label uploadCourseMaterial" />

									<label id="showCourseMaterial" class="hide"></label>

									<div class="bg" id="bgy" style="display:none;"></div>
									<div class="fixed_box" id="fixed_boxy" style="display:none;">
										<h1>选择文件</h1>
										<div class="fixed_content" id="fixed_content1">
											<a class="btn_addPic up-index" href="javascript:void(0);"><span><em>+</em>添加文件</span> <input class="filePrew" title="仅支持.pdf格式" type="file" size="3" name="courseMaterial" id="courseMaterial"> </a>
											<span class="excelSpan" id="uploadCourseMaterial"></span>
											<div class="button_box" id="button_boxy">
												<a href="javascript:void(0)" class="tijiao2 hover-btn" id="submity">导入</a>
												<a href="javascript:void(0)" class="result hover-btn" id="resulty" style="margin-left:30px">取消</a>
											</div>
										</div>
									</div>
									<img src="images/public/trash.png" class="clearCourseMaterial"/>
								</div>
								<div class="videoBox">
									<label class="font-label bottom-label-float upload-label">上传视频 :</label>

									<img src="images/pc/upload-default.png" class="bottom-img-float upload-label uploadVideo" />
	
									<label id="showvideo" class="hide"></label>
	
									<div class="bg" id="bg2" style="display:none;"></div>
									<div class="fixed_box" id="fixed_box2" style="display:none;">
										<h1>选择文件</h1>
										<div class="fixed_content" id="fixed_content2">
											<a class="btn_addPic up-index" href="javascript:void(0);"><span><em>+</em>添加文件</span> <input class="filePrew" title="支持.ogv、mp4格式" type="file" size="3" name="video" id="video"> </a>
											<span class="excelSpan" id="uploadvideo"></span>
											<div class="button_box" id="button_box2">
												<a href="javascript:void(0)" class="tijiao2 hover-btn" id="submit2">导入</a>
												<a href="javascript:void(0)" class="result hover-btn" id="result2" style="margin-left:30px">取消</a>
											</div>
										</div>
									</div>
									<img src="images/public/trash.png" class="clearVideo"/>
								</div>
								
								<hr class="line-class" />
								<div class="homeworkBox">
									<label class="font-label bottom-label-float upload-label">上传作业 :</label>
	
									<img src="images/pc/upload-default.png" class="bottom-img-float upload-label uploadHomework" />
	
									<label id="showhomework" class="hide"></label>
	
									<div class="bg" id="bg3" style="display:none;"></div>
									<div class="fixed_box" id="fixed_box3" style="display:none;">
										<h1>选择文件</h1>
										<div class="fixed_content" id="fixed_content3">
											<a class="btn_addPic up-index" href="javascript:void(0);"><span><em>+</em>添加文件</span> <input class="filePrew" title="仅支持.pdf格式" type="file" size="3" name="homework" id="homework"> </a>
											<span class="excelSpan" id="uploadhomework"></span>
											<div class="button_box" id="button_box3">
												<a href="javascript:void(0)" class="tijiao2 hover-btn" id="submit3">导入</a>
												<a href="javascript:void(0)" class="result hover-btn" id="result3" style="margin-left:30px">取消</a>
											</div>
										</div>
									</div>
									<img src="images/public/trash.png" class="clearWork"/>
								</div>
								<hr class="line-class" />
									<div class="courseAnswerBox">
									<label class="font-label bottom-label-float upload-label">课后答案 :</label>
	
									<img src="images/pc/upload-default.png" class="bottom-img-float upload-label uploadCourseAnswer" />
	
									<label id="showCourseAnswer" class="hide"></label>
	
									<div class="bg" id="bgx" style="display:none;"></div>
									<div class="fixed_box" id="fixed_boxx" style="display:none;">
										<h1>选择文件</h1>
										<div class="fixed_content" id="fixed_contentx">
											<a class="btn_addPic up-index" href="javascript:void(0);"><span><em>+</em>添加文件</span> <input class="filePrew" title="仅支持.pdf格式" type="file" size="3" name="courseAnswer" id="courseAnswer"> </a>
											<span class="excelSpan" id="uploadCourseAnswer"></span>
											<div class="button_box" id="button_boxx">
												<a href="javascript:void(0)" class="tijiao2 hover-btn" id="submitx">导入</a>
												<a href="javascript:void(0)" class="result hover-btn" id="resultx" style="margin-left:30px">取消</a>
											</div>
										</div>
									</div>
									<img src="images/public/trash.png" class="clearCourseAnswer"/>
								</div>
								<hr class="line-class" />

							</div>
							<!-- 
					<div class="button-div">
					
						<input type="button"  class="button-top submitChapter" value="保存"/>
					
					</div>
					 -->

						</div>
						<div class="content_box padd-top">

							<div class="button-top submitChapter hover-btn public_btn">保存</div>

						</div>
					</div>
					<div class="clear"></div>

				</div>
			</div>

		</form>

		<script>
			var result = '${result}';
			result = JSON.parse(result);
		</script>
		<script type="text/javascript" src="js/public/jquery-1.11.2.min.js"></script>

		<script type="text/javascript" src="js/pc/cores/Alert.js"></script>

		<script type="text/javascript" src="js/public/verification.js"></script>

		<script type="text/javascript" src="js/pc/cores/Alert.js"></script>

		<script type="text/javascript" src="js/pc/cores/delogin.js"></script>

		<script type="text/javascript" src="js/pc/modules/saveCourse.js"></script>

		<script type="text/javascript" src="js/public/frame.js"></script>

		<script type="text/javascript" src="js/pc/cores/noticeShow.js"></script>

	</body>

</html>